@layout("/common/_container.html"){
<div class="ibox float-e-margins">
	<div class="ibox-content">
		<div class="form-horizontal" id="noticeInfoForm">

			<input type="hidden" id="id" name="id" value=""> <input
				type="hidden" id="type" name="type" value="add"> <input
				type="hidden" id="contentVal" name="contentVal" value="">

			<div class="row">
				<div class="col-sm-12">
					<div class="form-group">
						<label class="col-sm-2 control-label">标题</label>
						<div class="col-sm-10">
							<input class="form-control" id="title" name="title" type="text">

						</div>
					</div>
					<div class="form-group">
						<label class="col-sm-2 control-label">内容</label>
						<div class="col-sm-10">
							<textarea class="layui-textarea" id="content" name="content"
								style="display: none">  

                            </textarea>

							<div class="site-demo-button" style="margin-top: 20px;">
								<button class="layui-btn site-demo-layedit" data-type="content">获取编辑器内容</button>
								<button class="layui-btn site-demo-layedit" data-type="text">获取编辑器纯文本内容</button>
								<button class="layui-btn site-demo-layedit"
									data-type="selection">获取编辑器选中内容</button>
							</div>


						</div>
					</div>
					<div class="form-group">
						<label class="col-sm-2 control-label">是否发布</label>
						<div class="col-sm-10">
							<select class="form-control input-sm" name="status" id="status">
								<option value="0">否</option>
								<option value="1">是</option>
							</select>

						</div>
					</div>
				</div>
			</div>

			<div class="row btn-group-m-t">
				<div class="col-sm-10">
					<#button btnCss="info" name="提交" id="ensure" icon="fa-check"
						clickFun="NoticeInfoDlg.addSubmit()" />
					<#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser"
						clickFun="NoticeInfoDlg.close()" />

				</div>
			</div>
		</div>

	</div>
</div>
<script src="/modular/system/notice/notice_info.js"></script>
@}
